TAGs: Triangle identifier calculator